﻿using System;

namespace codeparser.net.v2.Entities
{
    /// <summary>
    /// Represents the token type.
    /// </summary>
    internal enum TokenType
    {
        /// <summary>
        /// Represents a text token.
        /// </summary>
        Text,

        /// <summary>
        /// Represents a left bracket token.
        /// </summary>
        LeftBracket,

        /// <summary>
        /// Represents a right bracket token.
        /// </summary>
        RightBracket,

        /// <summary>
        /// Represents an element token.
        /// </summary>
        Element,

        /// <summary>
        /// Represents an attribute token.
        /// </summary>
        Attribute,

        /// <summary>
        /// Represents an assignment token.
        /// </summary>
        Assignment,

        /// <summary>
        /// Represents an attribute value begin token.
        /// </summary>
        AttributeValueBegin,

        /// <summary>
        /// Represents an attribute value token.
        /// </summary>
        AttributeValue,

        /// <summary>
        /// Represents an attribute value end token.
        /// </summary>
        AttributeValueEnd,

        /// <summary>
        /// Represents a space token.
        /// </summary>
        Space,

        /// <summary>
        /// Represents an unknown token.
        /// </summary>
        Unknown
    }
}